package cn.itcast.wanxinp2p.account.mapper;

import cn.itcast.wanxinp2p.account.entity.Account;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AccountMapper {
    /**
     * 根据手机号查询记录数
     * @param
     * @return
     */


    void insertSelective(Account account);


    Account countByMobile(String mobile);

    Account countByUserName(String username);

    void deleteAccount(String username);
}